var path = require('path');
var fs = require('fs');

var page = fs.readFileSync(path.join(__dirname, '../index.html'), 'utf8');

module.exports = async (ctx, next) => {
  ctx.response.body = page;
};